package com.hspedu.interface_;

public class InterfaceExercise01 {
    public static void main(String[] args) {
        G g = new G();
        System.out.println(g.a);//23
        System.out.println(G.a);//23
        System.out.println(F.a);//23
    }
}

interface F {
    int a = 23;
}

class G implements F {}

